from Skill import Skill


class Card:
    def __init__(self, cardData):
        self.name = cardData['name']
        self.hp = cardData['hp']
        self.skills = []

        for skillData in cardData['skills']:
            self.skills.append(Skill(skillData))
